<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="x-ua-compatible" content="ie=7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员注册激活页 - ${web.name}${web.additionalTitle!}</title>
<link href="${root}/u/css/main.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/memeber.css" type="text/css" rel="stylesheet" />
<script src="${sysResRoot}/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
function reSendEamil(userId) {
	alert("正在重新发送激活邮件，请稍候！");
	$.post('${base}/reactive.jspx',{'userId':userId}, 
		function (data) {
			if(data.data==1) 
				alert('该帐号已经被激活，请直接登录！');	
			else if(data.data==2) 
				alert('已重新发送激活邮件，请注意查收！');
			else if(data.data==3) 
				alert('发生错误，系统无法验证用户身份，请稍候重试！');
		},"json");
}
</script>
<style>
.cgxx{ text-align:center;}
</style>
</head>

<body style="background:url(${root}/u/img/jspgou/bg2.gif) repeat-x;">
<div class="w1187b">
	<div class="lm_w239">
        [#include "../include/全部商品分类.html"/]
    </div>
    <div class="lm_w948">
    	[#include "../include/页头顶栏.html"/]
    	[#include "../include/页头导航栏.html"/]
        <div class="w935b">
        	<!--页头搜索栏开始-->
            <form id="searchForm" action="${base}/search.jspx">
                <input name="q" id="q" value="${q!'请输入关键词'}" type="text" 
                       onfocus="if(this.value=='请输入关键词')this.value=''" 
                       onblur="if(this.value=='')this.value='请输入关键词'" class="key_search" />
                <input type="submit" value="" class="menu_search" />
            </form>
            <div class="hotwords">
                <span>热门：</span>
                [@keyword_list count= 6]
                [#if tag_list?size gt 0]
                [#list tag_list as kw]
                <a id="${kw.keyword}" onclick="parssKey(this);" style="cursor:pointer">${kw.keyword}</a> 
                [/#list]
                [#else]
                [/#if]
                [/@keyword_list]
            </div>
			<script type="text/javascript">
				function parssKey(o){
					var v=o.id;
					$("#q").val(v);
					document.getElementById("searchForm").submit();
				} 
			</script>
			<!--页头搜索栏结束-->	            
			<div class="clear10"></div>
    	</div>
        <img src="${root}/u/img/jspgou/line_r2.gif" width="10" height="" class="w10" />
    </div>
    <div class="clear20"></div>
    
    <div class="column_title"><span>注册新用户</span></div>
    
    <div class="regist_active_box">
    [#if status==1]
    <table border="0" align="center" cellpadding="0" cellspacing="0" style="margin:auto;">
    <tr>
    <td width="60" height="60"><img src="${root!}/u/memeber/success.png" align="middle" width="50" height="42"/></td>
    <td><font size="4" color="red"><strong>${member.username!}</strong></font><font size="4">用户，恭喜您已注册成功！</font></td>
    </tr>
    </table>
    <div class="cgxx">
    <p>确认邮件已发送到您的邮箱：<font size="3" color="red"><strong>${member.email!}</strong></font>，请前往完成激活</p>
    <p>邮箱激活可获得<font size="3" color="red"><strong>10</strong></font>积分并且可保护你的帐户安全，帮助您快速找回密码。</p>
    <p><a href="http://mail.${emailtype!}.com" target="_blank">
    <img src="${root!}/u/memeber/email.jpg"  align="middle" width="182" height="34" style="margin:10px auto 0px auto;"/></a>
    </p>
    </div>
    <div class="cgxxx">
    <p>没有收到确认邮件怎么办？</p>
    <p>稍等几分钟，若仍没收到确认信，让JSPGOU<a href="javascript:void(0);" onclick="reSendEamil(${member.id!});"><font color="blue">重发一封</font></a></p>
    </div>
    [#elseif status==2]
    
    <table border="0" align="center" cellpadding="0" cellspacing="0" style="margin:auto;">
    <tr>
    <td width="60" height="160"><img src="${root!}/u/memeber/fail.png" align="middle" width="50" height="42"/></td>
    <td><font size="4">注册失败</font></span></td>
    </tr>
    </table>
    
    <div class="cgxx">
    <p><strong>邮件服务器没有设置好，请联系管理员。</strong></p>
    </div>
    [#elseif status==3]
    <table border="0" align="center" cellpadding="0" cellspacing="0" style="margin:auto;">
    <tr>
    <td width="60" height="160"><img src="${root!}/u/memeber/fail.png" align="middle" width="50" height="42"/></td>
    <td><font size="4">注册失败</font></span></td>
    </tr>
    </table>
    
    
    <div class="cgxx">
    <p><strong>邮件模板没有设置好，请联系管理员。</strong></p>
    </div>
    [#elseif status==4]
    
    <table border="0" align="center" cellpadding="0" cellspacing="0" style="margin:auto;">
    <tr>
    <td width="60" height="160"><img src="${root!}/u/memeber/fail.png" align="middle" width="50" height="42"/></td>
    <td><font size="4">注册失败</font></span></td>
    </tr>
    </table>
    <div class="cgxx">
    <p><strong>后台邮箱设置的邮箱不能发送邮件。</strong></p>
    </div>
    [/#if]
    </div>	
    <div class="clear10"></div> 	 
</div>
[#include "../include/页脚信息栏.html"/]
</body>
</html>